<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Upload Image</title>
</head>
<body>
<form action="/admin/addProduct" method="post" enctype="multipart/form-data">
    <input type="file" name="pic" />
    <input type="text" name="productid" />
    <input type="text" name="category" />
    <input type="text" name="name" />

    <button type="submit">Upload</button>
</form>
</body>
</html>

